03. Establishing Scale

Establishing Scale

You can also measure a door using a tape measure, convert the units to meters, and then use those values for your scene. You will still want to 'gut check' this by putting it on a device, as sometimes a perfectly true-to-life scale doesn't always feel accurate in VR.

Tip: To recreate the Dungeon_Builiding_Units gameobject with the Gate child gameobject shown in the video, you can:

  1. Drag the Dungeon_Builiding_Units prefab from Assets > Dungeon Elements into the Scene or Hierarchy.
  2. In the Hierarchy, select all child gameobject of the newly added Dungeon_Builiding_Units gameobject except the Gate child gameobject.
  3. Delete these child gameobject and accept the Break Prefab Instance warning message.
  • The GvrViewerMain prefab you see in the Hierarchy during the videos no longer exist in GoogleVR Unity SDK and is now represented by the GvrEditorEmulator prefab.
  • The Main Camera you see in the Hierarchy during the videos will typically be nested as a child of the GvrEditorEmulator prefab.
  • The GvrReticle prefab you see in the Hierarchy during the videos has been renamed GvrReticlePointer.
  • The GazeInputModule script no longer exist in GoogleVR Unity SDK and we recommend using the GvrEventSystem prefab instead of the default Unity EventSystem because this prefab already has the required script components.
  • The stereoscopic view you see in the video while in Game mode is no longer rendered in the Unity Game view due to changes to GoogleVR Unity SDK. However, you can still use Alt + Move Mouse to simulate head rotation and Ctrl + Move Mouse to simulate head tilt.
  • If you find that Alt + Move Mouse and Ctrl + Move Mouse does not respond once you have entered Game mode, it's most likely because the Unity project is using GoogleVR Unity SDK version 1.6. For this versions of GoogleVR Unity SDK the head rotation and tilt simulation does not work while using Unity desktop platform mode. Therefore, you need to use a mobile platform, by going to File > Build Settings... and switching to either iOS or Android platform in the Build Settings popup window.
  • In general, the camera should be nested under a parent gameobject, for example, the GvrEditorEmulator prefab, and have a local position and rotation of 0, 0, 0. To reposition the camera, the parent gameobject should be repositioned and the camera itself should keep its local position and rotation of 0, 0, 0.

Capstone Preview:

Note: The capstone requires completing a series of "Achievements" and getting a total of 500 points in each section (Fundamentals, Completeness, and Challenges).

Scale Achievement